<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<%@ include file="/jsp/imports/header.jsp" %>
	<script>
		function foward(acao){
			document.form.action = acao;
			document.form.submit();
		}
	</script>
</head>

<body>
<c:set var="page" value="jsp/professor/plano/profEscolheTurmaAlterar.jsp" scope="session"/>
<div class="contentwrap">
	
<div class="headwrap">

<!-- Aqui é o TOPO -->

  <%@ include file="/jsp/imports/top.jsp" %>   
    
<!-- Aqui é o TOPO -->


	<div class="container content">
		
	  <div class="span-20 append-2 prepend-2">
	  
	  
	   
        <%@ include file="/jsp/imports/mensagens.jsp" %>
          <!-- Aqui sera as mensagens -->	
  	
  	
   <!-- Esse aqui é o MENU LATERAL --> 
    	
  <%@include file="/jsp/imports/menuLateral.jsp" %>
  <!-- Esse aqui é o MENU LATERAL --> 
  


<!-- Aqui é o centro do projeto  -->

		  <div class="span-12 services last">
			<h2><fmt:message key="alterarPlano.titulo"/></h2>
			<br/>
			<form action="escolheTurma.do?acao=alterar" method="post" name="form">
				<table>
					<tr>
						<td><fmt:message key="escolheTurma"/></td>
						<td>
							<select name="turmaSelecao" >
								<option selected="selected" />
								<c:forEach items="${turmas}" var="turma">
									<option value="${turma.idTurma}" <c:out value="${(param.turmaSelecao == turma.idTurma) ? 'selected' : ''}"/>><c:out value="${turma}"/></option>
								</c:forEach>
							</select>
						</td>
					</tr>
					<tr>
						<td><input type="submit" value="<fmt:message key="botao.escolher"/>"/></td>
						<td><input type="button" value="<fmt:message key="botao.cancelar"/>" onclick="foward('${pageContext.request.contextPath}/jsp/index.jsp')"/></td>
					</tr>
				</table>
			</form>
		  </div>
<!-- Aqui é o centro do projeto  -->
			
		  <div class="final"></div>
		
		</div>
	
	</div>

</div>

</div>

 
<!-- Rodape -->
<%@ include file="/jsp/imports/footer.jsp" %>
</body>
</html>